<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>View Drug Info</title>
<link href="<s:url value="/style.css"/>" rel="stylesheet"
	type="text/css" />
</head>
<body>
<jsp:include page="/navigation/navigation.jsp" />
	<div id="mainBox">
		<center>
			<h3>View Drug Info</h3>
			
					<table width="200px">
						<tr>
							<td>Drug Id:</td>
							<td><s:property value="retrievedDrug.drugId"/></td>
						</tr>
						<tr>
							<td>Drug Name:</td>
							<td><s:property value="retrievedDrug.drugName"/></td>
						</tr>
						<tr>
							<td>Type:</td>
							<td>
								<s:property value="%{DrugTypeMap[retrievedDrug.type]}"/>
							</td>
						</tr>
					</table>
					<div id="actionResult"><s:property value="#session.actionResult"/></div>
		</center>
	</div>
</body>
</html>